﻿@{
    ViewBag.Title = "_Header";
}
<body>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="container">

            <div class="navbar-header" style="float:left">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="#">TOP ART</a>
            </div>
            <div class="collapse navbar-collapse">



                <ul class=" nav navbar-nav navbar-left">
                    
                            <li>@Html.ActionLink("All Posts", "Index", "DataContext")</li>
                            <li>@Html.ActionLink("Add Post", "Create", "DataContext")</li>
                            <li id="searchBoxK">
                                @using (Html.BeginForm("Search", "DataContext", FormMethod.Get))
                                {
                                    <input type="text" name="search" id="searchTextBoxK" />
                                }
                            </li>
                 
                </ul>

                <div class="navbar-right">
                    <p>@Html.Partial("_LoginPartial")</p>
                </div>
            </div>



            <!--/.nav-collapse -->
        </div>
    </div>



</body>
